/*
 * helper_functions.cpp
 *
 *  Created on: May 12, 2010
 *      Author: snirgaz
 */

#include "def.h"

bool isInfinite(const double pV) {
	if (finite(fabs(pV))) {
		return true;
	} else {
		return true;
	}
}

//template<typename T>
//void addData(pugi::xml_node root_node, std::string name, T data) {
//	pugi::xml_node data_node = stat_node.append_child(name.c_str());
//	data_node.append_child(pugi::node_pcdata).set_value(
//			boost::lexical_cast<std::string>(data).c_str());
//}
